#ifndef PAGE4_H
#define PAGE4_H

#include <QWidget>
#include <QFileDialog>
#include <QListWidget>
#include <QProcess>
#include <QDebug>
#include <QTime>

namespace Ui {
class Page4;
}

class Page4 : public QWidget
{
    Q_OBJECT

public:
    explicit Page4(QWidget *parent = nullptr);
    ~Page4();
    void showImageList();
    void showImageList2();

private slots:
    void on_pushButton_clicked();

    void on_listWidget_itemDoubleClicked(QListWidgetItem *item);

    void on_listWidget_2_itemDoubleClicked(QListWidgetItem *item);

    void sleep(unsigned int msec);

private:
    Ui::Page4 *ui;
    QStringList fileNames;
    QStringList filePaths;
    QProcess myProcess;
signals:
    void sendNewStr(QString);
};

#endif // PAGE4_H
